package com.unitd.base.frame.plugin.db.datasource.sqls;

import lombok.Getter;

/**
 * 删除数据源sql
 *
 * @author Hudan
 * @version 1.0
 * @filename DeleteDatabaseInfoSql.java
 * @copyright www.unitd.com
 * @date 2020-06-28
 */
@Getter
public class DeleteDatabaseInfoSql extends AbstractSql {

    @Override
    protected String mysql() {
        return "delete from sys_datasource where db_name = ?";
    }

    @Override
    protected String sqlServer() {
        return "delete from sys_datasource where db_name = ?";
    }

    @Override
    protected String pgSql() {
        return "delete from sys_datasource where db_name = ?";
    }

    @Override
    protected String oracle() {
        return "delete from sys_datasource where db_name = ?";
    }
}